<?php
	$xmlData = file_get_contents("http://www.ashkansotoudeh.com/blog/?feed=rss2");
	$xml = new SimpleXMLElement($xmlData);
	$item = $xml->channel;
	
	foreach ($item->item as $post) {
		//namespace for content
		$ns_content = $post->children("http://purl.org/rss/1.0/modules/content/");
		//name space for dc
		$ns_creator = $post->children("http://purl.org/dc/elements/1.1/");
		$postContent = $ns_content->encoded;
		$postAuthor = $ns_creator->creator;
		$postTitle = $post->title;
		$postDate = $post->pubDate;
	}
?> 